home *** CD-ROM | disk | FTP | other *** search
Wrap
global language, cdnum on mouseUp unLoad() puppetSound("pagesend") if cdnum = 2 then identifier = string(10 + language) contents = 0 transfer = 1 myFile = new(xtra("fileio")) fileName = "c:\CDnum.dat" createFile(myFile, fileName) openFile(myFile, fileName, 2) writeString(myFile, identifier) closeFile(myFile) myFile = 0 Mui = new(xtra("mui")) response = alert(Mui, [#buttons: #YesNo, #default: 1, #title: "CD 1 Game", #message: "This game is on CD# 1, Do you wish to quit CD# 2", #icon: #question]) if response = 1 then go("next CD") else myFile = new(xtra("fileio")) openFile(myFile, fileName, 2) delete(myFile) end if else myFile = new(xtra("fileio")) fileName = "c:\CDnum.dat" openFile(myFile, fileName, 2) delete(myFile) play movie "Rayman" end if end